<?php

namespace app\hejiang;

class SentryClient extends \Raven_Client
{
    public $dsn = '';

    public function __construct()
    {

    }

    public function install()
    {
        parent::__construct($this->dsn);
        $this->timeout = 5;

        $error_handler = new ErrorHandler($this);
        $error_handler->registerExceptionHandler();
        $error_handler->registerErrorHandler();
        $error_handler->registerShutdownFunction();
    }
}